package cn.dnf.org.mapper;

import cn.dnf.org.domain.Shop;
import cn.dnf.basic.mapper.BaseMapper;
import cn.dnf.org.dto.ShopDto;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Tom
 * @since 2022-07-24
 */
public interface ShopMapper extends BaseMapper<Shop> {
    /**
     * 校验店铺是否被注册过
     * @param shop
     * @return
     */
    Shop getShopByMessage(Shop shop);

    List<ShopDto> getEcharts();


    void patchInsert(List<Shop> list);
}
